package com.exchange.used.repository;

import com.exchange.used.entity.Record;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface RecordRepository extends JpaRepository<Record, String> {
    List<Record> getRecordsByFkorderid(String fkorderid);

    List<Record> getRecordsByFkgoodsidAndStarIsNotNull(String fkgoodsid);

    List<Record> getRecordsByFkgoodsidAndRemarktimeIsNotNull(String fkgoodsid);
}
